package com.netease.pris.activity;

import android.content.res.Resources;
import android.os.IBinder;
import android.text.Html;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.inputmethod.InputMethodManager;
import android.widget.AutoCompleteTextView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.netease.framework.k;
import com.netease.pris.activity.a.p;
import com.netease.pris.atom.b;
import com.netease.pris.atom.u;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

class fr
  implements View.OnClickListener
{
  fr(CustomListViewActivity paramCustomListViewActivity)
  {
  }

  public void onClick(View paramView)
  {
    com.netease.pris.activity.view.c localc = null;
    int i = 0;
    while (true)
    {
      try
      {
        switch (paramView.getId())
        {
        case 2131558409:
          if (com.netease.b.a.d.h().i())
            MainGridActivity.a(CustomListViewActivity.d(this.a), i, 0);
        case 2131558515:
        case 2131558516:
        case 2131558518:
        case 2131558526:
        }
      }
      catch (NullPointerException localNullPointerException)
      {
        localNullPointerException.printStackTrace();
      }
      finally
      {
      }
      i = 1;
      continue;
      CustomListViewActivity.a(this.a).setText("");
      com.netease.pris.d.c.a(this.a.p(), 1701);
      break label502;
      IBinder localIBinder = CustomListViewActivity.a(this.a).getWindowToken();
      CustomListViewActivity.e(this.a).hideSoftInputFromWindow(localIBinder, 0);
      CustomListViewActivity.a(this.a, CustomListViewActivity.a(this.a).getText().toString());
      CustomListViewActivity.a(this.a).setDropDownHeight(0);
      if (CustomListViewActivity.f(this.a) == b.e)
      {
        if (CustomListViewActivity.e().matcher(CustomListViewActivity.g(this.a)).find())
          break;
        CustomListViewActivity.h(this.a).a();
        CustomListViewActivity.i(this.a).setVisibility(0);
        CustomListViewActivity.j(this.a).setVisibility(8);
        if (!k.a(this.a).c())
          break label507;
      }
    }
    label502: label506: label507: for (int j = 2131361993; ; j = 2131361994)
    {
      CustomListViewActivity.k(this.a).setText(Html.fromHtml(this.a.getResources().getString(j)));
      break label506;
      CustomListViewActivity.i(this.a).setVisibility(8);
      CustomListViewActivity.b(this.a, CustomListViewActivity.g(this.a));
      com.netease.pris.c.d.a(CustomListViewActivity.d(this.a), com.netease.b.a.d.h().c(), CustomListViewActivity.g(this.a));
      com.netease.pris.d.c.a(this.a.p(), 1698, CustomListViewActivity.g(this.a), CustomListViewActivity.l(this.a));
      break label502;
      CustomListViewActivity.m(this.a);
      break label502;
      localc = (com.netease.pris.activity.view.c)paramView.getTag();
      while (localc != null)
      {
        u localu = CustomListViewActivity.h(this.a).b(localc.b);
        if (localu.ak())
        {
          CustomListViewActivity.a(this.a, 303, localu, null, null);
          com.netease.pris.d.c.a(this.a.p(), 1703, localu.U());
          break;
        }
        if (!localu.al())
          break;
        CustomListViewActivity.a(this.a, 309, localu, null, null);
        com.netease.pris.d.c.a(this.a.p(), 1702, localu.U());
        break;
      }
      return;
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.fr
 * JD-Core Version:    0.6.0
 */